﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BidFunLib.Entity;
using BidFunLib.Services;

namespace BidFunLib.BidWeb
{
    public class BidUserWeb
    {
        public BidUser User { get; set; }

        public Int32 NbBidInSale { get; set;}

        public String Amount { get; set; }

        public BidOperatorTypeManager.BID_OPERATOR_TYPE OperatorType { get; set; }

        public BidUserWeb()
        {
            NbBidInSale = 0;
        }

        public BidUserWeb(BidUser user, int nbBidInSale,String amount,BidOperatorTypeManager.BID_OPERATOR_TYPE type)
        {
            NbBidInSale = nbBidInSale;
            User = user;
            Amount = amount;
            OperatorType = type;
        }

        public BidUserWeb(BidUser user)
        {
            NbBidInSale = 0;
            User = user;
        }
    }
}
